package com.itheima.test0905.test61;
//经理类
public class manager extends person{

    private String moneyAward;

    public String getMoneyAward() {
        return moneyAward;
    }

    public void setMoneyAward(String moneyAward) {
        this.moneyAward = moneyAward;
    }

    public manager(String id, String name, String age, String moneyAward) {

        super(id, name, age);
        this.moneyAward = moneyAward;
    }

    public manager() {

    }

    @Override
    public void body() {
        System.out.println("编号为" + this.getId() +
                "、奖金有" + this.getMoneyAward() +
                "元、" + this.getAge() + "岁的" +
                this.getName() +"经理重要讲话");
    }

}
